-- GENERATED SPELL FOR [Sethekk Prophet] --


function spell0_18325(pUnit, Event) --@Fear,n/a--
pUnit:FullCastSpellOnTarget(27641,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18325', 7000, 1)
end

function Sorts_18325(pUnit, Event)
local choix_sorts_18325 = math.random(0, 0)
if choix_sorts_18325 == 0 then
pUnit:RegisterEvent('spell0_18325', 1, 1)
end
end

function mob18325_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18325', math.random(1500, 3000), 1)
end

function mob18325_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18325_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18325_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18325, 1, 'mob18325_Action')
RegisterUnitEvent(18325, 2, 'mob18325_Leave')
RegisterUnitEvent(18325, 3, 'mob18325_Kill')
RegisterUnitEvent(18325, 4, 'mob18325_Die')
